// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import MintUI from 'mint-ui'
import VueParticles from 'vue-particles'
import 'mint-ui/lib/style.css'
import '../static/mui/css/mui.css'
import Axios from 'axios'
import Navbar from '@/components/common/Navbar'
import Comment from "@/components/common/Comment"
import Swipe from "@/components/common/Swipe"
import Numberbox from '@/components/common/Numberbox'
Vue.use(MintUI)
Vue.use(VueParticles)

Vue.config.productionTip = false

Vue.prototype.$axios = Axios
Axios.defaults.baseURL = "http://192.168.1.250:8081"
Vue.component(Navbar.name,Navbar)
Vue.component(Comment.name,Comment)
Vue.component(Swipe.name,Swipe)
Vue.component(Numberbox.name,Numberbox)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
